package work319;

/**
 * @Author admin
 * @Date 2019/3/19 15:49
 */
public class TestAnimal {
    public static void main(String[] args) {
        Animal kitty=new Cat();
        Animal bobi=new Dog();
        kitty.speak();
        bobi.speak();
        ((Cat) kitty).skill();
    }
}
